DX11 GET MATRIX INVERSE

Computes the inverse of the given matrix.
Note that since this function returns the determinant, the result matrix to write the inverse matrix to must be provided.
If you do not need the determinant of the inversion, you can use DX11 GET MATRIX INVERSE WITHOUT DETERMINANT instead. That function
will return the inversed matrix instead and works with te,porary matrices.

  Syntax
Return Float determinant  = DX11 GET MATRIX INVERSE(sourceMatrix, resultMatrix)
  Parameters
sourceMatrix
Dword
The matrix to compute the inverse of.
resultMatrix
Dword
The matrix to write the inverse of the source matrix to. Not optional!.

  Returns

The determinant of the inversed matrix. If this value is 0.0 the source matrix cannot be inversed.

  See also

MATH Functions Menu
DX11 Function Categories